import {ask} from "@/Api/requestBody";


/**
 * 查询房型 ----分页查询
 */
export const queryHotelPage = param => ask(['/hotel/queryHotelPage', 'POST', param]);


/**
 * 查询酒店信息----单个查询
 */
export const queryHotel = param => ask(['/hotel/queryHotel', 'POST', param]);


/**
 * 新增接口
 */
export const addHotel = param => ask(['/hotel/addHotel', 'POST', param]);


/**
 * 删除接口
 */
export const deleteHotel = param => ask(['/hotel/deleteHotel', 'POST', param]);


/**
 * 修改接口
 */
export const updateHotel = param => ask(['/hotel/updateHotel', 'POST', param]);


/**
 * 批量删除接口
 */
export const deletesHotel = param => ask(['/hotel/deletesHotel', 'POST', param]);
